person = {
    "name": "slj",
    "age": 20,
    "heigh": 172
}

for key, value in person.items():
    print(key)
    print(value)

for key in person.keys():
    print(key)

for value in person.values():
    print(value)

lans = {
    "jack": "java",
    "mark": "golang",
    "leo": "python"
}

names = ['jack', 'nick', 'mark']

for name in names:
    if name not in lans.keys():
        print(f'邀请{name}')
    else:
        print(f'谢谢{name}')